% \title{Wall Calendar version of CD calendars}

%%% The calendars are printed 2-up to fit CD jewel cases,
%%% or 4-up to fit 3" floppy disk jewel cases. OR, now a
%%% full-blown "giant" version that prints full-page!
%%%
%%% Localisation possible with languages supported by
%%% babel/translator/datetime2.
\documentclass[17pt,british,giant]{cdcalendar}

%%% Use the sundayweek option for weeks to start on Sundays.
% \documentclass[17pt,british,sundayweek,giant]{cdcalendar}

%% If using pdfLaTeX %%%%%%%%%%
\usepackage[T1]{fontenc}

\usepackage[rm]{roboto}
\usepackage[notextcomp,notext]{stix2}
%% End pdfLaTeX-related font settings %%%%%%%%

% %% Compile with xelatex if using fontspec
% \usepackage{fontspec}
% \setmainfont{Gentium}
% \setsansfont[BoldItalicFont=Fira Sans Italic,BoldFont=Fira Sans]{Fira Sans Light}
% %% End xelatex-related font settings %%%%%%%%


\usepackage{graphicx}
\usepackage{wallpaper}
\usepackage{fontawesome}
\graphicspath{{img/}}

%% If you're a mathematician and like to look at beautiful equations...
\usepackage[fleqn]{amsmath}

\tikzset{blue icon/.style={text=SkyBlue,font=\Large}}
\tikzset{pink icon/.style={text=Pink,font=\large}}
\tikzset{holiday/.style={rectangle,fill=orange!70}}
\tikzset{smfillbg/.style={opacity=0.4,inner sep=1.5ex}}

% Default values -- change if needed
% \setlength{\CalPageMargin}{1cm}
% \setlength{\EventLineWidth}{6in}
\geometry{a4paper}

\begin{document}

%%%%%%
% Cover
%%%%%%
\coverBgColor{RoyalBlue!40!black}
\coverImage
  [\color{gray!80}(This is an optional description line for hte cover image.) Here are the actual printed calendars. The smaller calendar (9\,cm $\times$ 9.5\,cm) fits floppy disk jewel cases; while the bigger one (11.7\,cm $\times$ 13.65\,cm) fits CD jewel cases.]
  {actual.jpg}

\coverTitle
  [font=\fontsize{72pt}{76pt}\sffamily\bfseries,text=white,text width=\linewidth,align=flush right]
  {2024 Calendar}

% \makeCover  %% Generates a cover
% \clearpage
%%%%


%%%%%%
% Some settings for the monthly calendars
%%%%%%
% \captionStyle{font=\sffamily\itshape\tiny}
\dayHeadingStyle{font=\sffamily,text=gray!90}
\sundayColor{red!80!black}
\monthTitleStyle{font={\fontsize{66pt}{66pt}\bfseries\sffamily}, text=RoyalBlue!40!white}
\eventStyle{\footnotesize\sffamily}

% Remove this line if you feel the background pattern is too annoying
\TileWallPaper{.5\paperwidth}{.5\paperheight}{lightpaperfibers}

% You may find the gap between illustrations and events too narrow
% Use this length to increase it
\setlength{\illusSkip}{1cm}


%%%%%%
% January 2020
%%%%%%
\illustration
[Happy TikZ animals! This is an optional description about the illustrations.]
{\linewidth}{tikzlings}

\begin{monthCalendar}{2024}{01}

%%% events must be given AFTER \begin{monthCalendar}
%%% Currently you must give events on the same page
%%% as the monthly calendar.

%% This is an one-day event
\event[mark style=holiday,smallver=smfillbg]{2024-01-01}{}{New Year's Day}

%% This is a 5-day event
\event[mark style=blue icon,marker=\faBriefcase]{2024-01-30}{5}{ACME Conference}
%% you could also write \event{2024-01-06}{2024-02-03}{ACME Conference}

\end{monthCalendar}

\clearpage

%%%%%%
% Feb 2020
%%%%%%

% Or you can put any stuff, really, with a caption if you want:
\setlength{\mathindent}{0pt}
\otherstuff[Fourier Transformation, one of the `math equations that changed the world'. \url{http://news.bitofnews.com/13-math-equations-that-changed-the-world/}]
{\linewidth}
{\huge\selectfont
\[%
  \hat{f}(\xi) = \int^{\infty}_{-\infty} f(x) e^{-2\pi ix\xi} \mathop{dx}
\]}

\begin{monthCalendar}{2024}{02}

%% Repeat the event if it spans two months
\event[mark style=blue icon,marker=\faBriefcase]{2024-01-30}{5}{ACME Conference}
\event[mark style=pink icon,marker=\faBirthdayCake]{2024-02-07}{}{Someone's birthday}
\event{2024-02-24}{}{Grant proposal deadline!!}

% A cheat/hack to get Dec 2023 events onto the small calendar on the previous page
\toggletrue{stealth}
\event[mark style=holiday,smallver=smfillbg]{2023-12-25}{}{Christmas Day}
\end{monthCalendar}

\clearpage

\illustration{\linewidth}{plasma01}
\begin{monthCalendar}{2024}{03}
\end{monthCalendar}

\clearpage

\illustration{\linewidth}{plasma02}
\begin{monthCalendar}{2024}{04}
\end{monthCalendar}

\clearpage

\illustration{\linewidth}{plasma03}
\begin{monthCalendar}{2024}{05}
\end{monthCalendar}

\clearpage

\illustration{\linewidth}{plasma04}
\begin{monthCalendar}{2024}{06}
\end{monthCalendar}

\clearpage

\illustration{\linewidth}{plasma01}
\begin{monthCalendar}{2024}{07}
\end{monthCalendar}

\clearpage

\illustration{\linewidth}{plasma02}
\begin{monthCalendar}{2024}{08}
\end{monthCalendar}

\clearpage

\illustration{\linewidth}{plasma03}
\begin{monthCalendar}{2024}{09}
\end{monthCalendar}

\clearpage

\illustration{\linewidth}{plasma04}
\begin{monthCalendar}{2024}{10}
\end{monthCalendar}

\clearpage

\illustration{\linewidth}{plasma01}
\begin{monthCalendar}{2024}{11}
% A cheat/hack to get Jan 2025 events onto the small calendar on the next page
\toggletrue{stealth}
\event[mark style=holiday,smallver=smfillbg]{2025-01-01}{}{New Year's Day}

\end{monthCalendar}

\clearpage

\illustration{\linewidth}{plasma02}
\begin{monthCalendar}{2024}{12}
\end{monthCalendar}

\end{document}
